package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 院系管理员各个流程处理时间段
 * </p>
 *
 * @author quin.song
 * @since 2022-12-30
 */
@Data
@Accessors(chain = true)
@TableName("college_deal_time")
@ApiModel(value = "CollegeDealTime对象", description = "院系管理员各个流程处理时间段")
public class CollegeDealTime implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer taskId;

    @ApiModelProperty("学院id   0:全局设置 ")
    private String collegeId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("开始时间")
    private LocalDateTime setBeginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty("结束时间")
    private LocalDateTime setEndTime;

    @ApiModelProperty("1:开课计划 	2:预选课程->开课单位处理时段	3:教学任务")
    private Integer type;

    @ApiModelProperty("备用")
    private Integer spare;

    @ApiModelProperty("0禁用  1启用")
    private Integer isEnable;
}
